import { forwardRef, Module } from '@nestjs/common';
import { ArticleContentLikeService } from './article-content-like.service';
import { ArticleContentLikeController } from './article-content-like.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ArticleContentLikeEntity } from './article-content-like.entity';
import { ArticleContentModule } from '../article-content.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([ArticleContentLikeEntity]),
    forwardRef(() => ArticleContentModule),
  ],
  controllers: [ArticleContentLikeController],
  providers: [ArticleContentLikeService],
  exports: [ArticleContentLikeService, TypeOrmModule],
})
export class ArticleContentLikeModule {}
